package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 礼金使用记录对象 gift_trans_records
 * 
 * @author ruoyi
 * @date 2025-08-15
 */
public class GiftTransRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long transId;

    /** 关联礼簿ID（外键） */
    @Excel(name = "关联礼簿ID", readConverterExp = "外=键")
    private Long bookId;

    /** 礼簿顺序 */
    @Excel(name = "礼簿顺序")
    private Long transSeq;

    /** 收支类型：支出，现金转电子 */
    @Excel(name = "收支类型：支出，现金转电子")
    private String transType;

    /** 交易方式：现金，微信，支付宝 */
    @Excel(name = "交易方式：现金，微信，支付宝")
    private String channelType;

    /** 金额（单位：元） */
    @Excel(name = "金额", readConverterExp = "单=位：元")
    private BigDecimal amount;

    /** 礼品描述 */
    @Excel(name = "礼品描述")
    private String transDesc;

    public void setTransId(Long transId) 
    {
        this.transId = transId;
    }

    public Long getTransId() 
    {
        return transId;
    }

    public void setBookId(Long bookId) 
    {
        this.bookId = bookId;
    }

    public Long getBookId() 
    {
        return bookId;
    }

    public void setTransSeq(Long transSeq) 
    {
        this.transSeq = transSeq;
    }

    public Long getTransSeq() 
    {
        return transSeq;
    }

    public void setTransType(String transType) 
    {
        this.transType = transType;
    }

    public String getTransType() 
    {
        return transType;
    }

    public void setChannelType(String channelType) 
    {
        this.channelType = channelType;
    }

    public String getChannelType() 
    {
        return channelType;
    }

    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public void setTransDesc(String transDesc) 
    {
        this.transDesc = transDesc;
    }

    public String getTransDesc() 
    {
        return transDesc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("transId", getTransId())
            .append("bookId", getBookId())
            .append("transSeq", getTransSeq())
            .append("transType", getTransType())
            .append("channelType", getChannelType())
            .append("amount", getAmount())
            .append("transDesc", getTransDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
